-- GENERATED SPELL FOR [Gordok Hyena] --


function spell0_12418(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13445,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_12418', 15000, 1)
end

function Sorts_12418(pUnit, Event)
local choix_sorts_12418 = math.random(0, 0)
if choix_sorts_12418 == 0 then
pUnit:RegisterEvent('spell0_12418', 1, 1)
end
end

function mob12418_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12418', math.random(1500, 3000), 1)
end

function mob12418_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12418_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12418_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12418, 1, 'mob12418_Action')
RegisterUnitEvent(12418, 2, 'mob12418_Leave')
RegisterUnitEvent(12418, 3, 'mob12418_Kill')
RegisterUnitEvent(12418, 4, 'mob12418_Die')
